<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.gph.saviorframework.common.model.User" %>
<%@ page import="org.apache.shiro.SecurityUtils" %>
<%
	User user = (User) SecurityUtils.getSubject().getPrincipal();
%>
<link rel="stylesheet" href="${ctx}/assets/admin/LingUI/css/lui-introjs.css" />
<div id="navbar" class="navbar navbar-default">
	<script type="text/javascript">
		try{ace.settings.check('navbar' , 'fixed')}catch(e){}
	</script>

	<div class="navbar-container" id="navbar-container">
		<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler">
			<span class="sr-only">切换栏</span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
			<span class="icon-bar"></span>
		</button>

		<div class="navbar-header pull-left"  id="headhead">
					<span class="navbar-brand"><small>
						<i class="fa fa-leaf"></i>
						Oauth2验证平台
					</small></span>
		</div>

		<div class="navbar-buttons navbar-header pull-right" role="navigation">
			<ul class="nav ace-nav" id="step1">
				<li class="light-blue" style="padding-bottom:0px;">
					<a data-toggle="dropdown" javascript="void(0)" class="dropdown-toggle">
								<span class="user-info" id="user-info">
									<small>欢迎,</small><%=user.getName()%><%--管理员--%>
								</span>
						<i class="ace-icon fa fa-caret-down"></i>
					</a>

					<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li>
							<a class="tc" href="${ctx}/dologout" id="tc">
								<i class="ace-icon fa fa-power-off"></i>
								退出
							</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
	<div class="clearfix"></div>
	<div style="background:#EBEBEB;float:left;width:100%;">
	</div>
</div>
<script type="text/javascript" src="${ctx}/assets/admin/LingUI/js/lui-intro.js"></script>